<html>
<head><meta charset="utf-8"><title>x.py bench · t-compiler/performance · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/index.html">t-compiler/performance</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/x.2Epy.20bench.html">x.py bench</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209263770"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/x.py%20bench/near/209263770" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/x.2Epy.20bench.html#209263770">(Sep 07 2020 at 07:09)</a>:</h4>
<p>comment: It looks like there aren't many useful #[bench] tests inside the compiler and stdlib. I assume that the effort to bench the performance characteristics basically goes through measureme/rustc-perf instead?</p>



<a name="209277966"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/x.py%20bench/near/209277966" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mati865 <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/x.2Epy.20bench.html#209277966">(Sep 07 2020 at 10:01)</a>:</h4>
<p>In contrast to std, there is no way to properly benchmark the compiler via microbenchmarking.<br>
You can run <code>rustc-perf</code> locally but its very long and you shouldn't use the PC whole this time to avoid influencing the benchmarks.</p>



<a name="209278909"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/x.py%20bench/near/209278909" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/x.2Epy.20bench.html#209278909">(Sep 07 2020 at 10:12)</a>:</h4>
<p>oof.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>